#include "sample.h"

#include <gtest/gtest.h>

TEST(SampleTest, TestIsTriangle) {
  EXPECT_TRUE(sample::is_triangle(5, 4, 3));
  EXPECT_TRUE(sample::is_triangle(1, 1, 1));
  EXPECT_FALSE(sample::is_triangle(1, 2, 3));
  EXPECT_FALSE(sample::is_triangle(0, 0, 0));
  EXPECT_FALSE(sample::is_triangle(1, 1, 3));
}